const getters = {
  addRouters: state => state.permission.addRouters,
  routers: state => state.permission.routers,
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  real: state => state.user.real,
  id: state => state.user.id,
  createTime: state => state.user.createTime,
  updatedTime: state => state.user.updatedTime,
  openId: state => state.user.openId,
  area: state => state.user.area,
  role: state => state.user.role,
  isHealth: state => state.user.isHealth
}
export default getters
